package com.ruoyi.reunion.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动评论对象 activity_comment
 *
 * @author ccccc
 * @date 2025-04-11
 */
public class ActivityComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String avatar;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 状态：0-已删除，1-正常 */
    @Excel(name = "状态：0-已删除，1-正常")
    private Long status;

    /** 回复的评论ID */
    @Excel(name = "回复的评论ID")
    private Long replyToId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String username;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setActivityId(Long activityId)
    {
        this.activityId = activityId;
    }

    public Long getActivityId()
    {
        return activityId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setReplyToId(Long replyToId)
    {
        this.replyToId = replyToId;
    }

    public Long getReplyToId()
    {
        return replyToId;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("activityId", getActivityId())
                .append("userId", getUserId())
                .append("avatar", getAvatar())
                .append("content", getContent())
                .append("status", getStatus())
                .append("replyToId", getReplyToId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("username", getUsername())
                .toString();
    }
}
